package com.yusiji.config;

import com.yusiji.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yusiji
 */
public class BoundSql {
    private String sql;
    private List<ParameterMapping> paramterMappingList = new ArrayList<>();

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<ParameterMapping> getParamterMappingList() {
        return paramterMappingList;
    }

    public void setParamterMappingList(List<ParameterMapping> paramterMappingList) {
        this.paramterMappingList = paramterMappingList;
    }

    public BoundSql(String sql, List<ParameterMapping> paramterMappingList) {
        this.sql = sql;
        this.paramterMappingList = paramterMappingList;
    }
}
